﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace liaowa2.Entity.DO
{
    public class User
    {
        /// <summary>
        /// 自增ID
        /// </summary>
        public int Id { set; get; }
        /// <summary>
        /// 宝宝状态
        /// </summary>
        public int UserStyleId { get; set; }
        /// <summary>
        /// 宝贝数
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// 用户唯一识别码（日期+主键+随机4位数）
        /// </summary>
        public string UserCode { get; set; }
        /// <summary>
        /// 用户组ID（来源）
        /// </summary>
        public int? GroupId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 6位随机字符串,加密用到
        /// </summary>
        public string Salt { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? Birthday { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Tel { get; set; }
        /// <summary>
        /// 星座
        /// </summary>
        public string Constellation { get; set; }
        /// <summary>
        /// 爱好
        /// </summary>
        public string Hobby { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string Describe { get; set; }
        /// <summary>
        /// 所属地区逗号分隔
        /// </summary>
        public string Area { get; set; }
        /// <summary>
        /// 详情地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// QQ号码
        /// </summary>
        public string QQ { get; set; }
        /// <summary>
        /// MSN号码
        /// </summary>
        public string MSN { get; set; }
        /// <summary>
        /// 账户余额
        /// </summary>
        public decimal? Amount { get; set; }
        /// <summary>
        /// 账户积分
        /// </summary>
        public int? Point { get; set; }
        /// <summary>
        /// 升级经验值
        /// </summary>
        public int? Exp { get; set; }
        /// <summary>
        /// 账户状态,0正常,1待验证,2待审核,3锁定，4禁止发言,5黑名单
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime? RegTime { get; set; }
        /// <summary>
        /// 注册IP
        /// </summary>
        public string RegIp { get; set; }
        /// <summary>
        /// 推荐人ID
        /// </summary>
        public int? ParentId { get; set; }
        /// <summary>
        /// 订单数量
        /// </summary>
        public int? OrderCount { get; set; }
        /// <summary>
        /// 订单佣金
        /// </summary>
        public decimal? OrderAmount { get; set; }
        /// <summary>
        /// 类型0是邀请1是下单成功
        /// </summary>
        public int? InviteType { get; set; }
        /// <summary>
        /// 最后访问时间
        /// </summary>
        public DateTime? LastTime { get; set; }
        /// <summary>
        /// 设备唯一识别码
        /// </summary>
        public string DeviceIdentifier { get; set; }

        /// <summary>
        /// 打开次数
        /// </summary>
        public int? OpenCount { get; set; }

        /// <summary>
        /// 关注数
        /// </summary>
        public int Follow { get; set; }

        /// <summary>
        /// 粉丝数
        /// </summary>
        public int Fsans { get; set; }
    }
}
